package com.jxdinfo.hussar.example.outsourcereportandcertimanage.bggl.wsdreportinfomaintenance1.controller;

import com.jxdinfo.hussar.support.mp.base.controller.HussarBaseController;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.jxdinfo.hussar.support.audit.core.annotations.AuditLog;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.jxdinfo.hussar.support.audit.core.enums.AuditEventGrade;
import com.jxdinfo.hussar.support.audit.core.enums.AuditEventType;
import com.jxdinfo.hussar.example.outsourcereportandcertimanage.bggl.wsdreportinfomaintenance1.vo.WsdReportInfoMaintenance1PageVO;
import org.springframework.web.bind.annotation.RequestBody;
import com.jxdinfo.hussar.example.outsourcereportandcertimanage.bggl.wsdreportinfomaintenance1.dto.WsdReportInfoMaintenance1Wsdreportinfomaintenance1dataset3;
import org.springframework.web.bind.annotation.PostMapping;
import com.jxdinfo.hussar.example.outsourcereportandcertimanage.bggl.wsdreportinfomaintenance1.dto.WsdReportInfoMaintenance1Wsdreportinfomaintenance1dataset2;
import com.jxdinfo.hussar.example.outsourcereportandcertimanage.bggl.wsdreportinfomaintenance1.dto.WsdReportInfoMaintenance1Wsdreportinfomaintenance1dataset4;
import com.jxdinfo.hussar.example.outsourcereportandcertimanage.bggl.wsdreportinfomaintenance1.service.WsdReportInfoMaintenance1Service;
import com.jxdinfo.hussar.example.outsourcereportandcertimanage.bggl.wsdreportinfomaintenance1.model.WsdReportInfoMaintenance1;
import org.springframework.beans.factory.annotation.Autowired;
import com.jxdinfo.hussar.example.outsourcereportandcertimanage.bggl.wsdreportinfomaintenance1.dto.WsdReportInfoMaintenance1Wsdreportinfomaintenance1dataset1;
import com.jxdinfo.hussar.platform.core.base.apiresult.ApiResponse;

/**
 * 报告维护信息表1控制器
 */
@RestController(value = "outsourcereportandcertimanage.bggl.wsdreportinfomaintenance1.WsdReportInfoMaintenance1Controller")
@AuditLog(moduleName = "报告维护信息表1")
@RequestMapping(value = "/outsourceReportAndCertiManage/bggl/wsdReportInfoMaintenance1")
public class WsdReportInfoMaintenance1Controller extends HussarBaseController<WsdReportInfoMaintenance1, WsdReportInfoMaintenance1Service> {

    private static final Logger logger = LoggerFactory.getLogger(WsdReportInfoMaintenance1Controller.class);

    @Autowired
    private WsdReportInfoMaintenance1Service wsdReportInfoMaintenance1Service;

    /**
     * 报告维护信息表1表格查询
     *
     * @return 查询结果
     */
    @AuditLog(moduleName = "报告维护信息表1", eventDesc = "表格查询", eventGrade = AuditEventGrade.SERVICE_LOG_TYPE, evnetType = AuditEventType.QUERY)
    @PostMapping("hussarQuery")
    public ApiResponse<WsdReportInfoMaintenance1PageVO> hussarQuery() {
        return wsdReportInfoMaintenance1Service.hussarQuery();
    }

    /**
     * 报告维护信息表1表格查询
     *
     * @param wsdreportinfomaintenance1dataset1 查询对象
     * @return 查询结果
     */
    @AuditLog(moduleName = "报告维护信息表1", eventDesc = "表格查询", eventGrade = AuditEventGrade.SERVICE_LOG_TYPE, evnetType = AuditEventType.QUERY)
    @PostMapping("hussarQuerywsdReportInfoMaintenance1Condition_1")
    public ApiResponse<WsdReportInfoMaintenance1PageVO> hussarQuerywsdReportInfoMaintenance1Condition_1(@RequestBody WsdReportInfoMaintenance1Wsdreportinfomaintenance1dataset1 wsdreportinfomaintenance1dataset1) {
        return wsdReportInfoMaintenance1Service.hussarQuerywsdReportInfoMaintenance1Condition_1(wsdreportinfomaintenance1dataset1);
    }

    /**
     * 报告维护信息表1表格查询
     *
     * @param wsdreportinfomaintenance1dataset2 查询对象
     * @return 查询结果
     */
    @AuditLog(moduleName = "报告维护信息表1", eventDesc = "表格查询", eventGrade = AuditEventGrade.SERVICE_LOG_TYPE, evnetType = AuditEventType.QUERY)
    @PostMapping("hussarQuerywsdReportInfoMaintenance1Condition_2")
    public ApiResponse<WsdReportInfoMaintenance1PageVO> hussarQuerywsdReportInfoMaintenance1Condition_2(@RequestBody WsdReportInfoMaintenance1Wsdreportinfomaintenance1dataset2 wsdreportinfomaintenance1dataset2) {
        return wsdReportInfoMaintenance1Service.hussarQuerywsdReportInfoMaintenance1Condition_2(wsdreportinfomaintenance1dataset2);
    }

    /**
     * 报告维护信息表1表格查询
     *
     * @param wsdreportinfomaintenance1dataset3 查询对象
     * @return 查询结果
     */
    @AuditLog(moduleName = "报告维护信息表1", eventDesc = "表格查询", eventGrade = AuditEventGrade.SERVICE_LOG_TYPE, evnetType = AuditEventType.QUERY)
    @PostMapping("hussarQuerywsdReportInfoMaintenance1Condition_3")
    public ApiResponse<WsdReportInfoMaintenance1PageVO> hussarQuerywsdReportInfoMaintenance1Condition_3(@RequestBody WsdReportInfoMaintenance1Wsdreportinfomaintenance1dataset3 wsdreportinfomaintenance1dataset3) {
        return wsdReportInfoMaintenance1Service.hussarQuerywsdReportInfoMaintenance1Condition_3(wsdreportinfomaintenance1dataset3);
    }

    /**
     * 报告维护信息表1表格查询
     *
     * @param wsdreportinfomaintenance1dataset4 查询对象
     * @return 查询结果
     */
    @AuditLog(moduleName = "报告维护信息表1", eventDesc = "表格查询", eventGrade = AuditEventGrade.SERVICE_LOG_TYPE, evnetType = AuditEventType.QUERY)
    @PostMapping("hussarQuerywsdReportInfoMaintenance1Condition_4")
    public ApiResponse<WsdReportInfoMaintenance1PageVO> hussarQuerywsdReportInfoMaintenance1Condition_4(@RequestBody WsdReportInfoMaintenance1Wsdreportinfomaintenance1dataset4 wsdreportinfomaintenance1dataset4) {
        return wsdReportInfoMaintenance1Service.hussarQuerywsdReportInfoMaintenance1Condition_4(wsdreportinfomaintenance1dataset4);
    }
}
